#pragma once
#include <ctime>

class CPerformer
{
public:
	CPerformer(void);
	void ExecuteCode(vector <treePtr> trees, DUCK_TYPE duckType);
	~CPerformer(void);
private:
	void ExecuteCommand(TREE_TYPE type, DUCK_TYPE duckType);
	void ExecuteWhile(treePtr tree, DUCK_TYPE duckType);
	bool GetVariableValue();
};
